package cz.spock.cms.entity.content;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * represents list of values
 * expected usage in dynamic freemarker pages
 * 
 * @author miso
 *
 */
@Entity
public class ListField {
    
    @Id
    private Long id;
    private String label;
    private List<? extends Object> list;
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
    public List<? extends Object> getList() {
        return list;
    }
    public void setList(List<? extends Object> list) {
        this.list = list;
    }

}
